<p>
日期：<%= @report.date %> &nbsp;&nbsp;基金总数：<%= @report.stock_funds.length %>
<%= image_tag "spinner.gif", :id => "spinner" %>
<script>Element.hide("spinner");</script>
</p>

<table>
    <tr>
        <th rowspan="2">基金代码</th>
        <th rowspan="2">基金名称</th>
        <th rowspan="2">单位净值<br>（元）</th>
        <th rowspan="2">晨星评级<br>（两年）</th>
        <th rowspan="2">晨星评级<br>（一年）</th>
        <th colspan="2">最近一周</th>
        <th colspan="2">最近一月</th>
        <th colspan="2">最近三月</th>
        <th colspan="2">最近六月</th>
        <th colspan="2">最近一年</th>
        <th colspan="2">最近两年</th>
        <th colspan="2">今年以来</th>
        <th>设立以来</th>
        <th colspan="4">最近一年风险评价</th>
        <th colspan="2">夏普比率</th>
        </tr>
        <tr align="center" bgcolor="#eeeeee">
        <th><%= link_to "总回报率", :order => :weekly_rot, :direction => :DESC %><br>（%）</th><th>排名</th>
        <th>总回报率<br>（%）</th><th><%= link_to "排名", :order => :monthly_rank %></th>
        <th>总回报率<br>（%）</th><th><%= link_to "排名", :order => :seasonly_rank %></th>
        <th>总回报率<br>（%）</th><th><%= link_to "排名", :order => :half_annually_rank %></th>
        <th>总回报率<br>（%）</th><th><%= link_to "排名", :order => :annually_rank %></th>
        <th>总回报率<br>（%）</th><th><%= link_to "排名", :order => :bi_annually_rank %></th>
        <th>总回报率<br>（%）</th><th><%= link_to "排名", :order => :current_year_rank %></th>
        <th><%= link_to "总回报率", :order => :total_rot, :direction => :DESC %><br>（%）</th>
        <th>波动幅度<br>（%）</th><th>评价</th><th>晨星风险系数</th><th>评价</th>
        <th>最近<br>一年</th><th>评价</th>
    </tr>
    <%= render(:partial => "fund" , :collection => @report.stock_funds) %>
</table>